var vue = new Vue({
    el:"#app",
    data:{
        spots:[]
    },
    methods:{
    },
    mounted:function () {
        /*    var params = getParams();
            var id = params.id;*/
        //景点列表
        var _this = this;
        //debugger;
       /* $.get("http://localhost:8080/spot/list", {}, function (data) {
            _this.spots = data;
            console.log(data);
        })
        console.log("this"+this.spots);*/
       ajaxGet("/spot/list",{},function (data) {
           _this.spots = data.data;
       })
    }
});
